const { Model,DataTypes } = require("sequelize");

class Tags extends Model {
    static init(sequelize) {
        return super.init({
            tag_id: {
                type: DataTypes.INTEGER,
                primaryKey: true,
                autoIncrement: true,
            },
           tag: {
                type: DataTypes.STRING,
                allowNull: false
           }
        },{
            sequelize,
            tableName: 'tags',
        })
    }
}
module.exports = Tags;